x86/HVM: generalize IRQ raising on RTC_REG_B writes
authorJan Beulich <jbeulich@suse.com>
Wed, 23 Jan 2013 13:20:28 +0000 (14:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 23 Jan 2013 13:20:28 +0000 (14:20 +0100)
commitec13fd3b0e11493ab8a7cb672897052d0c12807d
tree685c6eab7e030d285ff5aabd9d6b1a20e1563cfd
parent1c96f3d3287dcf0a477166a65b9025c1d448908a
x86/HVM: generalize IRQ raising on RTC_REG_B writes

Raise the RTC IRQ not only when UIE gets set while UF was already set,
but generalize this to cover AIE and PIE as well.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/rtc.c